<!--
  描述：员工安全日志表table页
  @author tanghongjun
  @since 2020-06-20 14:17:03
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!--表格id与lay-filter属性一致，统一定义为zmn-table-->
<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <!--规定复选框列置于第1列，居中显示-->
        <th lay-data="{field:'logId',type:'checkbox', width:50, unresize:true, align:'center', fixed:'left'}"></th>

        <th lay-data="{field:'logId', unresize:true, align:'center'}">主键id</th>
        <th lay-data="{field:'logType', unresize:true, align:'center'}">操作类型：</th>
        <th lay-data="{field:'opertorIp', unresize:true, align:'center'}">操作人IP</th>
        <th lay-data="{field:'createTime', unresize:true, align:'center'}">操作时间</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td></td>
        <td th:text="${item.logId}">logId</td>
        <td th:text="${item.logType}">logType</td>
        <td th:text="${item.opertorIp}">opertorIp</td>
        <td th:text="${item.creater}">creater</td>
        <td>
            <div>
                <a th:if="${#authPermit.checkPermit('/warranty/staffsecuritylog/addEditView.action')}"
                   style="color: #00a0e9"
                   th:lay-href="|/warranty/staffsecuritylog/addEditView.action?${column.pkAttrname}=${item.${column.pkAttrname}}"
                   lay-text="修改" text="修改">修改</a>&nbsp;&nbsp;
            </div>
        </td>
    </tr>
    </tbody>
</table>
